package org.paradise.dms.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * Description: 预分配的标记表。对应宿舍和学生的与分配id
 * 
 * Copyright (c) 2008-2009 paraDise sTudio(DT). All Rights Reserved.
 * 
 * @version 1.0 2009-4-5 上午01:10:43 李双江（paradise.lsj@gmail.com）created
 */
@Entity
@Table(name = "allocationinfo")
public class AllocationInfo {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private String allocationid;
	private Date starttime;
	private Date endtime;

	public String getAllocationid() {
		return allocationid;
	}

	public void setAllocationid(String allocationid) {
		this.allocationid = allocationid;
	}

	public String getAllocationname() {
		return allocationname;
	}

	public void setAllocationname(String allocationname) {
		this.allocationname = allocationname;
	}

	private String allocationname;

	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

}
